package cn.dglydrpy.eshop.website.learn;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Component;
@Slf4j
@Configuration
@Profile(value = "dev")
@Component
public class MyDev implements MyProfile {

    @Override
    public String show() {
        log.info("###执行myDev.show()###");
        return "MyDev";
    }
}
